﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace HynuIOTA.Web.Models
{
    public class BlogArticleViewModel
    {
        [Required]
        public string Title { get; set; }
        [Required]
        [AllowHtml]
        public string Content { get; set; }
        public string image { get; set; }
        public string Summary { get; set; }
        [Required]
        public int[] Tags { get; set; }
        public int? Id { get; set; }
        public string validateCode { get; set; }
    }
}
